import { networkRequest, baseRequestConfig, sessionConfig } from './RequestConfig'

//获取session
export const getSession = (params) => {
    sessionConfig.url = '/WCPS/MAIN/000_000_003'
    sessionConfig.data = params
    return networkRequest(
        sessionConfig
    )
}

//获取用户唯一标识
export const getOpenid = (params) => {
    sessionConfig.url = '/WCPS/MAIN/000_000_001'
    sessionConfig.data = params
    return networkRequest(
        sessionConfig
    )
}

//逆地理编码
export const getLocation = (params) => {
    sessionConfig.url = '/WCPS/MAIN/000_000_004'
    sessionConfig.data = params
    return networkRequest(
        sessionConfig
    )
}




